




import request from '@/utils/request'

export function listDeviceCarePlan(query) {
  return request({
    url: '/system/deviceCarePlan/list',
    method: 'get',
    params: query
  })
}
export function delDeviceCarePlan(compFeeIds) {
  return request({
    url: '/system/deviceCarePlan/' + compFeeIds,
    method: 'delete'
  })
}

export function deviceCarePlanAdd(data) {
  return request({
    url: '/system/deviceCarePlan',
    method: 'post',
    data: data
  })
}
export function updategdeviceCarePlan(data) {
  return request({
    url: '/system/deviceCarePlan',
    method: 'put',
    data: data
  })
}
export function deviceCarePlanInfo(query) {
  return request({
    url: '/system/deviceCarePlan/' + query,
    method: 'get',
  })
}